﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000021 RID: 33
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class AcceptMultipleExpeditionScRsp : IMessage<AcceptMultipleExpeditionScRsp>, IMessage, IEquatable<AcceptMultipleExpeditionScRsp>, IDeepCloneable<AcceptMultipleExpeditionScRsp>, IBufferMessage
	{
		// Token: 0x17000055 RID: 85
		// (get) Token: 0x0600014C RID: 332 RVA: 0x00004EEF File Offset: 0x000030EF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<AcceptMultipleExpeditionScRsp> Parser
		{
			get
			{
				return AcceptMultipleExpeditionScRsp._parser;
			}
		}

		// Token: 0x17000056 RID: 86
		// (get) Token: 0x0600014D RID: 333 RVA: 0x00004EF6 File Offset: 0x000030F6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return AcceptMultipleExpeditionScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000057 RID: 87
		// (get) Token: 0x0600014E RID: 334 RVA: 0x00004F08 File Offset: 0x00003108
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return AcceptMultipleExpeditionScRsp.Descriptor;
			}
		}

		// Token: 0x0600014F RID: 335 RVA: 0x00004F0F File Offset: 0x0000310F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AcceptMultipleExpeditionScRsp()
		{
		}

		// Token: 0x06000150 RID: 336 RVA: 0x00004F22 File Offset: 0x00003122
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AcceptMultipleExpeditionScRsp(AcceptMultipleExpeditionScRsp other) : this()
		{
			this.cLCGIOHDGOH_ = other.cLCGIOHDGOH_.Clone();
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06000151 RID: 337 RVA: 0x00004F58 File Offset: 0x00003158
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AcceptMultipleExpeditionScRsp Clone()
		{
			return new AcceptMultipleExpeditionScRsp(this);
		}

		// Token: 0x17000058 RID: 88
		// (get) Token: 0x06000152 RID: 338 RVA: 0x00004F60 File Offset: 0x00003160
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<OJGLGPGDEPN> CLCGIOHDGOH
		{
			get
			{
				return this.cLCGIOHDGOH_;
			}
		}

		// Token: 0x17000059 RID: 89
		// (get) Token: 0x06000153 RID: 339 RVA: 0x00004F68 File Offset: 0x00003168
		// (set) Token: 0x06000154 RID: 340 RVA: 0x00004F70 File Offset: 0x00003170
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x06000155 RID: 341 RVA: 0x00004F79 File Offset: 0x00003179
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as AcceptMultipleExpeditionScRsp);
		}

		// Token: 0x06000156 RID: 342 RVA: 0x00004F88 File Offset: 0x00003188
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(AcceptMultipleExpeditionScRsp other)
		{
			return other != null && (other == this || (this.cLCGIOHDGOH_.Equals(other.cLCGIOHDGOH_) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06000157 RID: 343 RVA: 0x00004FD8 File Offset: 0x000031D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.cLCGIOHDGOH_.GetHashCode();
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06000158 RID: 344 RVA: 0x00005025 File Offset: 0x00003225
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06000159 RID: 345 RVA: 0x0000502D File Offset: 0x0000322D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600015A RID: 346 RVA: 0x00005038 File Offset: 0x00003238
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.cLCGIOHDGOH_.WriteTo(ref output, AcceptMultipleExpeditionScRsp._repeated_cLCGIOHDGOH_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600015B RID: 347 RVA: 0x00005088 File Offset: 0x00003288
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.cLCGIOHDGOH_.CalculateSize(AcceptMultipleExpeditionScRsp._repeated_cLCGIOHDGOH_codec);
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600015C RID: 348 RVA: 0x000050DC File Offset: 0x000032DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(AcceptMultipleExpeditionScRsp other)
		{
			if (other == null)
			{
				return;
			}
			this.cLCGIOHDGOH_.Add(other.cLCGIOHDGOH_);
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600015D RID: 349 RVA: 0x00005129 File Offset: 0x00003329
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600015E RID: 350 RVA: 0x00005134 File Offset: 0x00003334
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 10U)
				{
					if (num != 24U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.cLCGIOHDGOH_.AddEntriesFrom(ref input, AcceptMultipleExpeditionScRsp._repeated_cLCGIOHDGOH_codec);
				}
			}
		}

		// Token: 0x0400005F RID: 95
		private static readonly MessageParser<AcceptMultipleExpeditionScRsp> _parser = new MessageParser<AcceptMultipleExpeditionScRsp>(() => new AcceptMultipleExpeditionScRsp());

		// Token: 0x04000060 RID: 96
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000061 RID: 97
		public const int CLCGIOHDGOHFieldNumber = 1;

		// Token: 0x04000062 RID: 98
		private static readonly FieldCodec<OJGLGPGDEPN> _repeated_cLCGIOHDGOH_codec = FieldCodec.ForMessage<OJGLGPGDEPN>(10U, OJGLGPGDEPN.Parser);

		// Token: 0x04000063 RID: 99
		private readonly RepeatedField<OJGLGPGDEPN> cLCGIOHDGOH_ = new RepeatedField<OJGLGPGDEPN>();

		// Token: 0x04000064 RID: 100
		public const int RetcodeFieldNumber = 3;

		// Token: 0x04000065 RID: 101
		private uint retcode_;
	}
}
